import request from '@/utils/request2'
//门店销售数据
export function getShopData(data) {
    return request({
        url: '/reportController/getShopData?' + data,
        method: 'post',
    })
}

//品类收入
export function getProductClassReportData(data) {
    return request({
        url: '/reportController/getProductClassReportData?' + data,
        method: 'post',
    })
}

//品类前十商品
export function getProductReportData(data) {
    return request({
        url: '/reportController/getProductReportData?' + data,
        method: 'post',
    })
}

//品类数据接口
export function getProductClassInfoTree(data) {
    return request({
        url: '/productClassController/getProductClassInfoTree?' + data,
        method: 'post',
    })
}

//商品品类子级信息
export function getProductClassChildInfo(data) {
    return request({
        url: '/productClassController/getProductClassChildInfo?' + data,
        method: 'post',
    })
}
//获取商品品类信息
export function getLastLeaf(data) {
    return request({
        url: '/productClassController/getLastLeaf?' + data,
        method: 'post',
    })
}